﻿@model Boolean
    <div class="toggleBox @(Model ? "checked" : "")" title="Click to toggle value">
        <label>
            <span class="on">On</span>
            <span class="separator">&nbsp;</span>
            <span class="off">Off</span>

            @Html.CheckBox("", Model)
        </label>
    </div>
